package com.talkweb.newproject.admin.sysmenu.dao;

import com.talkweb.newproject.admin.sysmenu.dto.SysMenuDTO;

import java.util.List;
import java.util.Map;

/**
 * Created by qsf on 2019/4/18.
 */
public interface SysMenuDao {
    int insertSysMenu(Map<String, Object> params);

    void updateSysMenu(Map<String, Object> params);

    void deleteSysMenu(Map<String, Object> params);

    SysMenuDTO querySysMenuByPrimaryKey(String id);

    List<SysMenuDTO> querySysMenuByUserId(String userId);

    SysMenuDTO queryLikeSysMenu(Map<String, Object> params) throws Exception ;

    List<SysMenuDTO> searchSysMenu(Map<String, Object> params) throws Exception;
}
